/// 消息模型
class Message {
  final String id;
  final String title;
  final String content;
  final String time;
  final bool isRead;
  final MessageType type;

  Message({
    required this.id,
    required this.title,
    required this.content,
    required this.time,
    this.isRead = false,
    required this.type,
  });
}

/// 消息类型
enum MessageType {
  system,    // 系统消息
  order,     // 订单消息
} 